﻿
@using Abp.Extensions
@using Abp.Application.Services.Dto
@using KDS.Mes.Web.Models.Common.Modals
@using KDS.Mes.Web.Models.AlcCodeDetails

@model CreateOrEditAlcCodeDetailModalViewModel

@* 初始化头部 *@
@Html.Partial("~/Views/Common/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(Model.IsEditMode ? (L("EditAlcCodeDetail") + ": " + Model.AlcCodeDetail.AlcCodeId) : L("CreateAlcCodeDetail")))


<!--html代码区域-->
<div class="modal-body">
    <form name="alcCodeDetailInformationsForm"   role="form" novalidate class="form-validation">
 <input type="hidden" name="Id" value="@Model.AlcCodeDetail.Id" />
 <div class="row>
            <!--<div class="alert alert-info fs16 bold mt10">分节标题</div>-->
            
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("Id")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="Id" name="Id" value="@Model.AlcCodeDetail.Id" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("AlcCodeId")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("AlcCodeId", Model.AlcCodes.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "alcCodeIdEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("SeatPositionId")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("SeatPositionId", Model.SeatPositions.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "seatPositionIdEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BackrestAssemblyNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="BackrestAssemblyNo" name="BackrestAssemblyNo" maxlength="20" value="@Model.AlcCodeDetail.BackrestAssemblyNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("CushionAssemblyNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="CushionAssemblyNo" name="CushionAssemblyNo" maxlength="20" value="@Model.AlcCodeDetail.CushionAssemblyNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BackrestCoverNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="BackrestCoverNo" name="BackrestCoverNo" maxlength="20" value="@Model.AlcCodeDetail.BackrestCoverNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("CushionCoverNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="CushionCoverNo" name="CushionCoverNo" maxlength="20" value="@Model.AlcCodeDetail.CushionCoverNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BackrestFoamNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="BackrestFoamNo" name="BackrestFoamNo" maxlength="20" value="@Model.AlcCodeDetail.BackrestFoamNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("CushionFoamNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="CushionFoamNo" name="CushionFoamNo" maxlength="20" value="@Model.AlcCodeDetail.CushionFoamNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BackFrameNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="BackFrameNo" name="BackFrameNo" maxlength="20" value="@Model.AlcCodeDetail.BackFrameNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("SABNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="SABNo" name="SABNo" maxlength="20" value="@Model.AlcCodeDetail.SABNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("HeadrestNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="HeadrestNo" name="HeadrestNo" maxlength="20" value="@Model.AlcCodeDetail.HeadrestNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("CenterHeadrestNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="CenterHeadrestNo" name="CenterHeadrestNo" maxlength="20" value="@Model.AlcCodeDetail.CenterHeadrestNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("ArmRestNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="ArmRestNo" name="ArmRestNo" maxlength="20" value="@Model.AlcCodeDetail.ArmRestNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BuckleNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="BuckleNo" name="BuckleNo" maxlength="20" value="@Model.AlcCodeDetail.BuckleNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BackplaneNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="BackplaneNo" name="BackplaneNo" maxlength="20" value="@Model.AlcCodeDetail.BackplaneNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("AdjusterNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="AdjusterNo" name="AdjusterNo" maxlength="20" value="@Model.AlcCodeDetail.AdjusterNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("AdjusterPlateNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="AdjusterPlateNo" name="AdjusterPlateNo" maxlength="20" value="@Model.AlcCodeDetail.AdjusterPlateNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("CushioSsupportNo")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler " type="text" id="CushioSsupportNo" name="CushioSsupportNo" maxlength="20" value="@Model.AlcCodeDetail.CushioSsupportNo" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("SeatColor")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler  required" type="text" id="SeatColor" name="SeatColor" maxlength="20" value="@Model.AlcCodeDetail.SeatColor" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("PlasticColor")</label>
                        <div class="col-sm-8">
                            <input class="form-control inline w300  maxlength-handler  required" type="text" id="PlasticColor" name="PlasticColor" maxlength="20" value="@Model.AlcCodeDetail.PlasticColor" />
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("MaterialId")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("MaterialId", Model.Materials.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "materialIdEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("Slide")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("Slide", Model.Slides.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "slideEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("HGIT")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("HGIT", Model.HGITs.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "hGITEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("LumbarSupport")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("LumbarSupport", Model.LumbarSupports.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "lumbarSupportEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("Warmer")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("Warmer", Model.Warmers.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "warmerEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("Ventlation")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("Ventlation", Model.Ventlations.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "ventlationEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("SAB")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("SAB", Model.SABs.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "sABEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("BackPocket")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("BackPocket", Model.BackPockets.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "backPocketEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("SBR")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("SBR", Model.SBRs.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "sBREdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("IMS")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("IMS", Model.IMSs.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "iMSEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">@L("OneTouch")</label>
                        <div class="col-sm-8">
    @Html.DropDownList("OneTouch", Model.OneTouchs.Select(a => a.ToSelectListItem()), new
            {
                @class = "form-control selectpicker",
                data_live_search = "true",
                id = "oneTouchEdit"
            })
                            <span class="help-inline"></span>
                        </div>
                    </div>
                </div>
            </div>
    </form>
</div>
@Html.Partial("~/Views/Common/Modals/_ModalFooterWithSaveAndCancel.cshtml")
 
